//
//  SLAlgorithmViewModel.m
//  Objective-C
//
//  Created by S_Line on 2018/9/4.
//  Copyright © 2018年 S_Line. All rights reserved.
//

#import "SLAlgorithmViewModel.h"

@implementation SLAlgorithmViewModel

- (void)initData {
    self.sections = [NSMutableArray new];
    self.dataDict = [NSMutableDictionary new];
    
    NSMutableArray *dataArray = [NSMutableArray new];
    
    NSString *firstSection = @"算法";
    [self.sections addObject:firstSection];
    [dataArray addObject:[SLAlgorithmModelItem itemWithName:@"递归" routeKey:@""]];
    [self.dataDict setObject:dataArray forKey:firstSection];
}

@end
